package com.ourteam.product.ui.dao;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;

/**
 * Template Name : DAO查询对象 Template Version : 1 Template Last Modfiy Date : Sat Aug 19 10:06:32 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:16 Warning ! This file will be overwrite when
 * regenerate !
 */
public class ProductUIPageParamDAOQueryBean extends BaseQueryBean {

  public ProductUIPageParamDAOQueryBean() {
    super();
  }

  public ProductUIPageParamDAOQueryBean(BaseQueryBean aQueryBean) {
    super(aQueryBean);
  }

  public ProductUIPageParamDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
    super(aQueryBean, tableReplaceMap);
  }

  public Criteria createCriteria() {

    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    return new Criteria(this);
  }

  public void addIdSelectProperty() {
    addIdSelectProperty("id");
  }

  public void addIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.Id, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.Id, "id");
    }
  }

  public void addPageIdSelectProperty() {
    addPageIdSelectProperty("pageId");
  }

  public void addPageIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.PageId, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.PageId, "pageId");
    }
  }

  public void addPageParamIdSelectProperty() {
    addPageParamIdSelectProperty("pageParamId");
  }

  public void addPageParamIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.PageParamId, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.PageParamId, "pageParamId");
    }
  }

  public void addPageParamValueSelectProperty() {
    addPageParamValueSelectProperty("pageParamValue");
  }

  public void addPageParamValueSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.PageParamValue, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.PageParamValue, "pageParamValue");
    }
  }

  public void addStatusSelectProperty() {
    addStatusSelectProperty("status");
  }

  public void addStatusSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.Status, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.Status, "status");
    }
  }

  public void addRemarksSelectProperty() {
    addRemarksSelectProperty("remarks");
  }

  public void addRemarksSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.Remarks, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.Remarks, "remarks");
    }
  }

  public void addPageParamValueIdSelectProperty() {
    addPageParamValueIdSelectProperty("pageParamValueId");
  }

  public void addPageParamValueIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.PageParamValueId, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.PageParamValueId, "pageParamValueId");
    }
  }

  public void addParamCodeSelectProperty() {
    addParamCodeSelectProperty("paramCode");
  }

  public void addParamCodeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.ParamCode, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.ParamCode, "paramCode");
    }
  }

  public void addParamDescSelectProperty() {
    addParamDescSelectProperty("paramDesc");
  }

  public void addParamDescSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.ParamDesc, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.ParamDesc, "paramDesc");
    }
  }

  public void addParamInputTypeSelectProperty() {
    addParamInputTypeSelectProperty("paramInputType");
  }

  public void addParamInputTypeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIPageParamDAO.ParamInputType, aAlias);
    } else {
      addSelectProperty(IProductUIPageParamDAO.ParamInputType, "paramInputType");
    }
  }

  public void addAllSelectProperties() {

    addIdSelectProperty();

    addPageIdSelectProperty();

    addPageParamIdSelectProperty();

    addPageParamValueSelectProperty();

    addStatusSelectProperty();

    addRemarksSelectProperty();

    addPageParamValueIdSelectProperty();

    addParamCodeSelectProperty();

    addParamDescSelectProperty();

    addParamInputTypeSelectProperty();
  }

  public static class Criteria extends BaseWhereCriterion<ProductUIPageParamDAOQueryBean> {

    protected Criteria(ProductUIPageParamDAOQueryBean aParentObject) {
      super(aParentObject);
    }

    public Criteria andIdIsNull() {
      addCriterion(IProductUIPageParamDAO.Id + " is null");
      return this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion(IProductUIPageParamDAO.Id + " is not null");
      return this;
    }

    public Criteria andIdIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.Id + " is not null AND " + IProductUIPageParamDAO.Id + " <> ''");
      return this;
    }

    public Criteria andIdIsEmpty() {
      addCriterion(
          "(" + IProductUIPageParamDAO.Id + " is null OR " + IProductUIPageParamDAO.Id + " = '')");
      return this;
    }

    public Criteria andIdEqualTo(long value) {
      return andIdEqualTo(Long.valueOf(value));
    }

    public Criteria andIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.Id + " = ", value, "id");
      return this;
    }

    public Criteria andIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Id);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotEqualTo(long value) {
      return andIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.Id + " <>", value, "id");
      return this;
    }

    public Criteria andIdNotEqualToOrIsNull(long value) {
      return andIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIPageParamDAO.Id + " is null OR " + IProductUIPageParamDAO.Id + " <>",
          value,
          "id");
      return this;
    }

    public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Id);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThan(long value) {
      return andIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.Id + " >", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Id);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(long value) {
      return andIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.Id + " >=", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Id);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThan(long value) {
      return andIdLessThan(Long.valueOf(value));
    }

    public Criteria andIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.Id + " <", value, "id");
      return this;
    }

    public Criteria andIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Id);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(long value) {
      return andIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.Id + " <=", value, "id");
      return this;
    }

    public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Id);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdIn(long[] values) {
      if (values.length == 1) {
        return andIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Id + " in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Id + " not in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Id + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdBetween(long value1, long value2) {
      addCriterion(IProductUIPageParamDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIPageParamDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIPageParamDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIPageParamDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andPageIdIsNull() {
      addCriterion(IProductUIPageParamDAO.PageId + " is null");
      return this;
    }

    public Criteria andPageIdIsNotNull() {
      addCriterion(IProductUIPageParamDAO.PageId + " is not null");
      return this;
    }

    public Criteria andPageIdIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.PageId
              + " is not null AND "
              + IProductUIPageParamDAO.PageId
              + " <> ''");
      return this;
    }

    public Criteria andPageIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.PageId
              + " is null OR "
              + IProductUIPageParamDAO.PageId
              + " = '')");
      return this;
    }

    public Criteria andPageIdEqualTo(long value) {
      return andPageIdEqualTo(Long.valueOf(value));
    }

    public Criteria andPageIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageId + " = ", value, "pageId");
      return this;
    }

    public Criteria andPageIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdNotEqualTo(long value) {
      return andPageIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andPageIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageId + " <>", value, "pageId");
      return this;
    }

    public Criteria andPageIdNotEqualToOrIsNull(long value) {
      return andPageIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andPageIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIPageParamDAO.PageId + " is null OR " + IProductUIPageParamDAO.PageId + " <>",
          value,
          "pageId");
      return this;
    }

    public Criteria andPageIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdGreaterThan(long value) {
      return andPageIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andPageIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageId + " >", value, "pageId");
      return this;
    }

    public Criteria andPageIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdGreaterThanOrEqualTo(long value) {
      return andPageIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andPageIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageId + " >=", value, "pageId");
      return this;
    }

    public Criteria andPageIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdLessThan(long value) {
      return andPageIdLessThan(Long.valueOf(value));
    }

    public Criteria andPageIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageId + " <", value, "pageId");
      return this;
    }

    public Criteria andPageIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdLessThanOrEqualTo(long value) {
      return andPageIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andPageIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageId + " <=", value, "pageId");
      return this;
    }

    public Criteria andPageIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdIn(long[] values) {
      if (values.length == 1) {
        return andPageIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageId + " in", values, "pageId");
        return this;
      }
    }

    public Criteria andPageIdNotIn(long[] values) {
      if (values.length == 1) {
        return andPageIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageId + " not in", values, "pageId");
        return this;
      }
    }

    public Criteria andPageIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andPageIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageId + " in", values, "pageId");
        return this;
      }
    }

    public Criteria andPageIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andPageIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageId + " not in", values, "pageId");
        return this;
      }
    }

    public Criteria andPageIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andPageIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageId + " in", Arrays.asList(values), "pageId");
        return this;
      }
    }

    public Criteria andPageIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andPageIdNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageId + " not in", Arrays.asList(values), "pageId");
        return this;
      }
    }

    public Criteria andPageIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageIdBetween(long value1, long value2) {
      addCriterion(IProductUIPageParamDAO.PageId + " between", value1, value2, "pageId");
      return this;
    }

    public Criteria andPageIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIPageParamDAO.PageId + " between", value1, value2, "pageId");
      return this;
    }

    public Criteria andPageIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIPageParamDAO.PageId + " not between", value1, value2, "pageId");
      return this;
    }

    public Criteria andPageIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIPageParamDAO.PageId + " not between", value1, value2, "pageId");
      return this;
    }

    public Criteria andPageParamIdIsNull() {
      addCriterion(IProductUIPageParamDAO.PageParamId + " is null");
      return this;
    }

    public Criteria andPageParamIdIsNotNull() {
      addCriterion(IProductUIPageParamDAO.PageParamId + " is not null");
      return this;
    }

    public Criteria andPageParamIdIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.PageParamId
              + " is not null AND "
              + IProductUIPageParamDAO.PageParamId
              + " <> ''");
      return this;
    }

    public Criteria andPageParamIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.PageParamId
              + " is null OR "
              + IProductUIPageParamDAO.PageParamId
              + " = '')");
      return this;
    }

    public Criteria andPageParamIdEqualTo(long value) {
      return andPageParamIdEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamId + " = ", value, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamIdEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdNotEqualTo(long value) {
      return andPageParamIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamId + " <>", value, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdNotEqualToOrIsNull(long value) {
      return andPageParamIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andPageParamIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIPageParamDAO.PageParamId
              + " is null OR "
              + IProductUIPageParamDAO.PageParamId
              + " <>",
          value,
          "pageParamId");
      return this;
    }

    public Criteria andPageParamIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdGreaterThan(long value) {
      return andPageParamIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andPageParamIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamId + " >", value, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdGreaterThanOrEqualTo(long value) {
      return andPageParamIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamId + " >=", value, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdLessThan(long value) {
      return andPageParamIdLessThan(Long.valueOf(value));
    }

    public Criteria andPageParamIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamId + " <", value, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdLessThanOrEqualTo(long value) {
      return andPageParamIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamId + " <=", value, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdIn(long[] values) {
      if (values.length == 1) {
        return andPageParamIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamId + " in", values, "pageParamId");
        return this;
      }
    }

    public Criteria andPageParamIdNotIn(long[] values) {
      if (values.length == 1) {
        return andPageParamIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamId + " not in", values, "pageParamId");
        return this;
      }
    }

    public Criteria andPageParamIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andPageParamIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamId + " in", values, "pageParamId");
        return this;
      }
    }

    public Criteria andPageParamIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andPageParamIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamId + " not in", values, "pageParamId");
        return this;
      }
    }

    public Criteria andPageParamIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andPageParamIdEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamId + " in", Arrays.asList(values), "pageParamId");
        return this;
      }
    }

    public Criteria andPageParamIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andPageParamIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamId + " not in", Arrays.asList(values), "pageParamId");
        return this;
      }
    }

    public Criteria andPageParamIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamIdBetween(long value1, long value2) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " between", value1, value2, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIPageParamDAO.PageParamId + " between", value1, value2, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdNotBetween(long value1, long value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamId + " not between", value1, value2, "pageParamId");
      return this;
    }

    public Criteria andPageParamIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamId + " not between", value1, value2, "pageParamId");
      return this;
    }

    public Criteria andPageParamValueIsNull() {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " is null");
      return this;
    }

    public Criteria andPageParamValueIsNotNull() {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " is not null");
      return this;
    }

    public Criteria andPageParamValueIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.PageParamValue
              + " is not null AND "
              + IProductUIPageParamDAO.PageParamValue
              + " <> ''");
      return this;
    }

    public Criteria andPageParamValueIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.PageParamValue
              + " is null OR "
              + IProductUIPageParamDAO.PageParamValue
              + " = '')");
      return this;
    }

    public Criteria andPageParamValueEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.PageParamValue + " = ", value, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValue);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueNotEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.PageParamValue + " <>", value, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIPageParamDAO.PageParamValue
              + " is null OR "
              + IProductUIPageParamDAO.PageParamValue
              + " <>",
          value,
          "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValue);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueGreaterThan(String value) {

      addCriterion(IProductUIPageParamDAO.PageParamValue + " >", value, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValue);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.PageParamValue + " >=", value, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValue);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueLessThan(String value) {

      addCriterion(IProductUIPageParamDAO.PageParamValue + " <", value, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValue);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueLessThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.PageParamValue + " <=", value, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValue);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIPageParamDAO.PageParamValue + " like", buffer.toString(), "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIPageParamDAO.PageParamValue + " not like", buffer.toString(), "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueIn(List<String> values) {

      if (values.size() == 1) {
        return andPageParamValueEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamValue + " in", values, "pageParamValue");
        return this;
      }
    }

    public Criteria andPageParamValueNotIn(List<String> values) {
      if (values.size() == 1) {
        return andPageParamValueNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamValue + " not in", values, "pageParamValue");
        return this;
      }
    }

    public Criteria andPageParamValueIn(String[] values) {

      if (values.length == 1) {
        return andPageParamValueEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamValue + " in", Arrays.asList(values), "pageParamValue");
        return this;
      }
    }

    public Criteria andPageParamValueNotIn(String[] values) {
      if (values.length == 1) {
        return andPageParamValueNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamValue + " not in",
            Arrays.asList(values),
            "pageParamValue");
        return this;
      }
    }

    public Criteria andPageParamValueIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValue + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueBetween(String value1, String value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamValue + " between", value1, value2, "pageParamValue");
      return this;
    }

    public Criteria andPageParamValueNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamValue + " not between", value1, value2, "pageParamValue");
      return this;
    }

    public Criteria andStatusIsNull() {
      addCriterion(IProductUIPageParamDAO.Status + " is null");
      return this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion(IProductUIPageParamDAO.Status + " is not null");
      return this;
    }

    public Criteria andStatusIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.Status
              + " is not null AND "
              + IProductUIPageParamDAO.Status
              + " <> ''");
      return this;
    }

    public Criteria andStatusIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.Status
              + " is null OR "
              + IProductUIPageParamDAO.Status
              + " = '')");
      return this;
    }

    public Criteria andStatusEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Status + " = ", value, "status");
      return this;
    }

    public Criteria andStatusEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Status);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Status + " <>", value, "status");
      return this;
    }

    public Criteria andStatusNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIPageParamDAO.Status + " is null OR " + IProductUIPageParamDAO.Status + " <>",
          value,
          "status");
      return this;
    }

    public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Status);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThan(String value) {

      addCriterion(IProductUIPageParamDAO.Status + " >", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Status);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Status + " >=", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Status);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThan(String value) {

      addCriterion(IProductUIPageParamDAO.Status + " <", value, "status");
      return this;
    }

    public Criteria andStatusLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Status);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Status + " <=", value, "status");
      return this;
    }

    public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Status);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.Status + " like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.Status + " not like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusIn(List<String> values) {

      if (values.size() == 1) {
        return andStatusEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.Status + " in", values, "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStatusNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.Status + " not in", values, "status");
        return this;
      }
    }

    public Criteria andStatusIn(String[] values) {

      if (values.length == 1) {
        return andStatusEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Status + " in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(String[] values) {
      if (values.length == 1) {
        return andStatusNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Status + " not in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Status + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.Status + " between", value1, value2, "status");
      return this;
    }

    public Criteria andStatusNotBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.Status + " not between", value1, value2, "status");
      return this;
    }

    public Criteria andRemarksIsNull() {
      addCriterion(IProductUIPageParamDAO.Remarks + " is null");
      return this;
    }

    public Criteria andRemarksIsNotNull() {
      addCriterion(IProductUIPageParamDAO.Remarks + " is not null");
      return this;
    }

    public Criteria andRemarksIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.Remarks
              + " is not null AND "
              + IProductUIPageParamDAO.Remarks
              + " <> ''");
      return this;
    }

    public Criteria andRemarksIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.Remarks
              + " is null OR "
              + IProductUIPageParamDAO.Remarks
              + " = '')");
      return this;
    }

    public Criteria andRemarksEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Remarks + " = ", value, "remarks");
      return this;
    }

    public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Remarks);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Remarks + " <>", value, "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIPageParamDAO.Remarks + " is null OR " + IProductUIPageParamDAO.Remarks + " <>",
          value,
          "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Remarks);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThan(String value) {

      addCriterion(IProductUIPageParamDAO.Remarks + " >", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Remarks);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Remarks + " >=", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Remarks);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThan(String value) {

      addCriterion(IProductUIPageParamDAO.Remarks + " <", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Remarks);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.Remarks + " <=", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.Remarks);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.Remarks + " like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.Remarks + " not like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksIn(List<String> values) {

      if (values.size() == 1) {
        return andRemarksEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.Remarks + " in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(List<String> values) {
      if (values.size() == 1) {
        return andRemarksNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.Remarks + " not in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(String[] values) {

      if (values.length == 1) {
        return andRemarksEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Remarks + " in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(String[] values) {
      if (values.length == 1) {
        return andRemarksNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.Remarks + " not in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.Remarks + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.Remarks + " between", value1, value2, "remarks");
      return this;
    }

    public Criteria andRemarksNotBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.Remarks + " not between", value1, value2, "remarks");
      return this;
    }

    public Criteria andPageParamValueIdIsNull() {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " is null");
      return this;
    }

    public Criteria andPageParamValueIdIsNotNull() {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " is not null");
      return this;
    }

    public Criteria andPageParamValueIdIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.PageParamValueId
              + " is not null AND "
              + IProductUIPageParamDAO.PageParamValueId
              + " <> ''");
      return this;
    }

    public Criteria andPageParamValueIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.PageParamValueId
              + " is null OR "
              + IProductUIPageParamDAO.PageParamValueId
              + " = '')");
      return this;
    }

    public Criteria andPageParamValueIdEqualTo(long value) {
      return andPageParamValueIdEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamValueId + " = ", value, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValueId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueIdEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdNotEqualTo(long value) {
      return andPageParamValueIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamValueId + " <>", value, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdNotEqualToOrIsNull(long value) {
      return andPageParamValueIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIPageParamDAO.PageParamValueId
              + " is null OR "
              + IProductUIPageParamDAO.PageParamValueId
              + " <>",
          value,
          "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValueId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdGreaterThan(long value) {
      return andPageParamValueIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamValueId + " >", value, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValueId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdGreaterThanOrEqualTo(long value) {
      return andPageParamValueIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamValueId + " >=", value, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValueId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdLessThan(long value) {
      return andPageParamValueIdLessThan(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamValueId + " <", value, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValueId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdLessThanOrEqualTo(long value) {
      return andPageParamValueIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andPageParamValueIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIPageParamDAO.PageParamValueId + " <=", value, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.PageParamValueId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andPageParamValueIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdIn(long[] values) {
      if (values.length == 1) {
        return andPageParamValueIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamValueId + " in", values, "pageParamValueId");
        return this;
      }
    }

    public Criteria andPageParamValueIdNotIn(long[] values) {
      if (values.length == 1) {
        return andPageParamValueIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamValueId + " not in", values, "pageParamValueId");
        return this;
      }
    }

    public Criteria andPageParamValueIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andPageParamValueIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.PageParamValueId + " in", values, "pageParamValueId");
        return this;
      }
    }

    public Criteria andPageParamValueIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andPageParamValueIdNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamValueId + " not in", values, "pageParamValueId");
        return this;
      }
    }

    public Criteria andPageParamValueIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andPageParamValueIdEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamValueId + " in",
            Arrays.asList(values),
            "pageParamValueId");
        return this;
      }
    }

    public Criteria andPageParamValueIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andPageParamValueIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.PageParamValueId + " not in",
            Arrays.asList(values),
            "pageParamValueId");
        return this;
      }
    }

    public Criteria andPageParamValueIdIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.PageParamValueId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andPageParamValueIdBetween(long value1, long value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamValueId + " between", value1, value2, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamValueId + " between", value1, value2, "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdNotBetween(long value1, long value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamValueId + " not between",
          value1,
          value2,
          "pageParamValueId");
      return this;
    }

    public Criteria andPageParamValueIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IProductUIPageParamDAO.PageParamValueId + " not between",
          value1,
          value2,
          "pageParamValueId");
      return this;
    }

    public Criteria andParamCodeIsNull() {
      addCriterion(IProductUIPageParamDAO.ParamCode + " is null");
      return this;
    }

    public Criteria andParamCodeIsNotNull() {
      addCriterion(IProductUIPageParamDAO.ParamCode + " is not null");
      return this;
    }

    public Criteria andParamCodeIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.ParamCode
              + " is not null AND "
              + IProductUIPageParamDAO.ParamCode
              + " <> ''");
      return this;
    }

    public Criteria andParamCodeIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.ParamCode
              + " is null OR "
              + IProductUIPageParamDAO.ParamCode
              + " = '')");
      return this;
    }

    public Criteria andParamCodeEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamCode + " = ", value, "paramCode");
      return this;
    }

    public Criteria andParamCodeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamCode);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamCodeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeNotEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamCode + " <>", value, "paramCode");
      return this;
    }

    public Criteria andParamCodeNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIPageParamDAO.ParamCode
              + " is null OR "
              + IProductUIPageParamDAO.ParamCode
              + " <>",
          value,
          "paramCode");
      return this;
    }

    public Criteria andParamCodeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamCode);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamCodeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeGreaterThan(String value) {

      addCriterion(IProductUIPageParamDAO.ParamCode + " >", value, "paramCode");
      return this;
    }

    public Criteria andParamCodeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamCode);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamCodeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamCode + " >=", value, "paramCode");
      return this;
    }

    public Criteria andParamCodeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamCode);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamCodeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeLessThan(String value) {

      addCriterion(IProductUIPageParamDAO.ParamCode + " <", value, "paramCode");
      return this;
    }

    public Criteria andParamCodeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamCode);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamCodeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeLessThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamCode + " <=", value, "paramCode");
      return this;
    }

    public Criteria andParamCodeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamCode);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamCodeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.ParamCode + " like", buffer.toString(), "paramCode");
      return this;
    }

    public Criteria andParamCodeNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.ParamCode + " not like", buffer.toString(), "paramCode");
      return this;
    }

    public Criteria andParamCodeIn(List<String> values) {

      if (values.size() == 1) {
        return andParamCodeEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.ParamCode + " in", values, "paramCode");
        return this;
      }
    }

    public Criteria andParamCodeNotIn(List<String> values) {
      if (values.size() == 1) {
        return andParamCodeNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.ParamCode + " not in", values, "paramCode");
        return this;
      }
    }

    public Criteria andParamCodeIn(String[] values) {

      if (values.length == 1) {
        return andParamCodeEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.ParamCode + " in", Arrays.asList(values), "paramCode");
        return this;
      }
    }

    public Criteria andParamCodeNotIn(String[] values) {
      if (values.length == 1) {
        return andParamCodeNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.ParamCode + " not in", Arrays.asList(values), "paramCode");
        return this;
      }
    }

    public Criteria andParamCodeIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamCodeBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " between", value1, value2, "paramCode");
      return this;
    }

    public Criteria andParamCodeNotBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.ParamCode + " not between", value1, value2, "paramCode");
      return this;
    }

    public Criteria andParamDescIsNull() {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " is null");
      return this;
    }

    public Criteria andParamDescIsNotNull() {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " is not null");
      return this;
    }

    public Criteria andParamDescIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.ParamDesc
              + " is not null AND "
              + IProductUIPageParamDAO.ParamDesc
              + " <> ''");
      return this;
    }

    public Criteria andParamDescIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.ParamDesc
              + " is null OR "
              + IProductUIPageParamDAO.ParamDesc
              + " = '')");
      return this;
    }

    public Criteria andParamDescEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamDesc + " = ", value, "paramDesc");
      return this;
    }

    public Criteria andParamDescEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamDesc);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamDescEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescNotEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamDesc + " <>", value, "paramDesc");
      return this;
    }

    public Criteria andParamDescNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIPageParamDAO.ParamDesc
              + " is null OR "
              + IProductUIPageParamDAO.ParamDesc
              + " <>",
          value,
          "paramDesc");
      return this;
    }

    public Criteria andParamDescNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamDesc);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamDescNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescGreaterThan(String value) {

      addCriterion(IProductUIPageParamDAO.ParamDesc + " >", value, "paramDesc");
      return this;
    }

    public Criteria andParamDescGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamDesc);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamDescGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamDesc + " >=", value, "paramDesc");
      return this;
    }

    public Criteria andParamDescGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamDesc);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamDescGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescLessThan(String value) {

      addCriterion(IProductUIPageParamDAO.ParamDesc + " <", value, "paramDesc");
      return this;
    }

    public Criteria andParamDescLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamDesc);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamDescLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescLessThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamDesc + " <=", value, "paramDesc");
      return this;
    }

    public Criteria andParamDescLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamDesc);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamDescLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.ParamDesc + " like", buffer.toString(), "paramDesc");
      return this;
    }

    public Criteria andParamDescNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIPageParamDAO.ParamDesc + " not like", buffer.toString(), "paramDesc");
      return this;
    }

    public Criteria andParamDescIn(List<String> values) {

      if (values.size() == 1) {
        return andParamDescEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.ParamDesc + " in", values, "paramDesc");
        return this;
      }
    }

    public Criteria andParamDescNotIn(List<String> values) {
      if (values.size() == 1) {
        return andParamDescNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.ParamDesc + " not in", values, "paramDesc");
        return this;
      }
    }

    public Criteria andParamDescIn(String[] values) {

      if (values.length == 1) {
        return andParamDescEqualTo(values[0]);
      } else {
        addCriterion(IProductUIPageParamDAO.ParamDesc + " in", Arrays.asList(values), "paramDesc");
        return this;
      }
    }

    public Criteria andParamDescNotIn(String[] values) {
      if (values.length == 1) {
        return andParamDescNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.ParamDesc + " not in", Arrays.asList(values), "paramDesc");
        return this;
      }
    }

    public Criteria andParamDescIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamDescBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " between", value1, value2, "paramDesc");
      return this;
    }

    public Criteria andParamDescNotBetween(String value1, String value2) {
      addCriterion(IProductUIPageParamDAO.ParamDesc + " not between", value1, value2, "paramDesc");
      return this;
    }

    public Criteria andParamInputTypeIsNull() {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " is null");
      return this;
    }

    public Criteria andParamInputTypeIsNotNull() {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " is not null");
      return this;
    }

    public Criteria andParamInputTypeIsNotEmpty() {
      addCriterion(
          IProductUIPageParamDAO.ParamInputType
              + " is not null AND "
              + IProductUIPageParamDAO.ParamInputType
              + " <> ''");
      return this;
    }

    public Criteria andParamInputTypeIsEmpty() {
      addCriterion(
          "("
              + IProductUIPageParamDAO.ParamInputType
              + " is null OR "
              + IProductUIPageParamDAO.ParamInputType
              + " = '')");
      return this;
    }

    public Criteria andParamInputTypeEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamInputType + " = ", value, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamInputType);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamInputTypeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeNotEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamInputType + " <>", value, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIPageParamDAO.ParamInputType
              + " is null OR "
              + IProductUIPageParamDAO.ParamInputType
              + " <>",
          value,
          "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamInputType);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamInputTypeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeGreaterThan(String value) {

      addCriterion(IProductUIPageParamDAO.ParamInputType + " >", value, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamInputType);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamInputTypeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamInputType + " >=", value, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamInputType);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamInputTypeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeLessThan(String value) {

      addCriterion(IProductUIPageParamDAO.ParamInputType + " <", value, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamInputType);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamInputTypeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeLessThanOrEqualTo(String value) {

      addCriterion(IProductUIPageParamDAO.ParamInputType + " <=", value, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIPageParamDAO.ParamInputType);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andParamInputTypeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIPageParamDAO.ParamInputType + " like", buffer.toString(), "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIPageParamDAO.ParamInputType + " not like", buffer.toString(), "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeIn(List<String> values) {

      if (values.size() == 1) {
        return andParamInputTypeEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.ParamInputType + " in", values, "paramInputType");
        return this;
      }
    }

    public Criteria andParamInputTypeNotIn(List<String> values) {
      if (values.size() == 1) {
        return andParamInputTypeNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIPageParamDAO.ParamInputType + " not in", values, "paramInputType");
        return this;
      }
    }

    public Criteria andParamInputTypeIn(String[] values) {

      if (values.length == 1) {
        return andParamInputTypeEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.ParamInputType + " in", Arrays.asList(values), "paramInputType");
        return this;
      }
    }

    public Criteria andParamInputTypeNotIn(String[] values) {
      if (values.length == 1) {
        return andParamInputTypeNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIPageParamDAO.ParamInputType + " not in",
            Arrays.asList(values),
            "paramInputType");
        return this;
      }
    }

    public Criteria andParamInputTypeIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIPageParamDAO.ParamInputType + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andParamInputTypeBetween(String value1, String value2) {
      addCriterion(
          IProductUIPageParamDAO.ParamInputType + " between", value1, value2, "paramInputType");
      return this;
    }

    public Criteria andParamInputTypeNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIPageParamDAO.ParamInputType + " not between", value1, value2, "paramInputType");
      return this;
    }
  }
}
